scores = [['Angle', '0121701100106', 99],
          ['Jack', '0121701100107', 86],
          ['Tom', '0121701100109', 77],
          ['Smith', '0121701100111', 100],
          ['Bob', '0121701100115', 77],
          ['Lily', '0121701100117', 59]]
print("按姓名排序：")
print(sorted(scores, key=lambda x: x[0]))
print("按学号排序：")
print(sorted(scores, key=lambda x: x[1]))
print("按成绩排序（成绩相同时按姓名升序）：")
print(sorted(scores, key=lambda x: (x[2], x[0])))
print("软件21-2 25 唐浩天")